package com.example.administrator.recycleview;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

public class ViewHolder extends RecyclerView.ViewHolder {
    public ViewHolder(View itemView) {
        super(itemView);
        this.view=itemView;
        headView=view.findViewById(R.id.iv_head);
        nameView=view.findViewById(R.id.iv_name);
        ageView=view.findViewById(R.id.iv_age);


    }
    View view;
    ImageView headView;
    TextView nameView;
    TextView ageView;



    }

